package edu.lingnan.house.controller;

import edu.lingnan.house.pojo.TbType;
import edu.lingnan.house.service.TestService;
import edu.lingnan.house.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class Test2 {
    @Autowired
    private TestService testService;
    @GetMapping("/teee")
    public Result teee(){
        return new Result (200,testService.select(),"ok");
    }

}
